const Koa = require('koa');
const bodyParser = require('koa-bodyparser'); //post请求参数json返回；
const { router } = require("./routes/index");
const app = new Koa();

app.use(bodyParser());
app.use(router.routes());

app.listen(3067, () => {
    console.log(3067, 'koa服务开启');
})